package com.ssyc.gsk_master.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 红包列表的数据模型
 * Created by Administrator on 2018/7/23 0023.
 */

public class RedListInfo implements Serializable {

    /**
     * totleUsed : 1
     * totleMoney : 403242
     * totleRobbed : 5
     * state : 1
     * redPackets : [{"robbedPerson":0,"money":10,"person":1,"redId":339,"usedMoney":0,"title":"学有所成，前程似锦！","createDate":"2018-07-19 16:09:40"},{"robbedPerson":0,"money":500,"person":30,"redId":340,"usedMoney":0,"title":"学有所成，前程似锦！","createDate":"2018-07-19 16:11:00"},{"robbedPerson":0,"money":500,"person":30,"redId":341,"usedMoney":0,"title":"学有所成，前程似锦！","createDate":"2018-07-19 16:11:17"},{"robbedPerson":1,"money":10,"person":1,"redId":342,"usedMoney":0,"title":"学有所成，前程似锦！","createDate":"2018-07-19 16:13:56"},{"robbedPerson":1,"money":10,"person":1,"redId":343,"usedMoney":0,"title":"学有所成，前程似锦！","createDate":"2018-07-19 16:14:26"},{"robbedPerson":2,"money":10,"person":10,"redId":344,"usedMoney":1,"title":"学有所成，前程似锦！","createDate":"2018-07-19 16:38:11"},{"robbedPerson":1,"money":500,"person":10,"redId":345,"usedMoney":0,"title":"学有所成，前程似锦！","createDate":"2018-07-20 16:28:56"},{"robbedPerson":0,"money":400582,"person":62,"redId":346,"usedMoney":0,"title":"学有所成，前程似锦！","createDate":"2018-07-20 16:30:05"},{"robbedPerson":0,"money":1000,"person":4,"redId":347,"usedMoney":0,"title":"学有所成，前程似锦！","createDate":"2018-07-20 16:34:20"},{"robbedPerson":0,"money":100,"person":1,"redId":348,"usedMoney":0,"title":"学有所成，前程似锦！","createDate":"2018-07-23 09:44:39"},{"robbedPerson":0,"money":20,"person":15,"redId":349,"usedMoney":0,"title":"学有所成，前程似锦！","createDate":"2018-07-23 09:47:26"}]
     */

    private int totleUsed;
    private int totleMoney;
    private int totleRobbed;
    private String state;
    private List<RedPacketsBean> redPackets;

    public int getTotleUsed() {
        return totleUsed;
    }

    public void setTotleUsed(int totleUsed) {
        this.totleUsed = totleUsed;
    }

    public int getTotleMoney() {
        return totleMoney;
    }

    public void setTotleMoney(int totleMoney) {
        this.totleMoney = totleMoney;
    }

    public int getTotleRobbed() {
        return totleRobbed;
    }

    public void setTotleRobbed(int totleRobbed) {
        this.totleRobbed = totleRobbed;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<RedPacketsBean> getRedPackets() {
        return redPackets;
    }

    public void setRedPackets(List<RedPacketsBean> redPackets) {
        this.redPackets = redPackets;
    }

    public static class RedPacketsBean implements Serializable {
        /**
         * robbedPerson : 0
         * money : 10
         * person : 1
         * redId : 339
         * usedMoney : 0
         * title : 学有所成，前程似锦！
         * createDate : 2018-07-19 16:09:40
         */

        private int robbedPerson;
        private int money;
        private int person;
        private int redId;
        private int usedMoney;
        private String title;
        private String createDate;

        public int getRobbedPerson() {
            return robbedPerson;
        }

        public void setRobbedPerson(int robbedPerson) {
            this.robbedPerson = robbedPerson;
        }

        public int getMoney() {
            return money;
        }

        public void setMoney(int money) {
            this.money = money;
        }

        public int getPerson() {
            return person;
        }

        public void setPerson(int person) {
            this.person = person;
        }

        public int getRedId() {
            return redId;
        }

        public void setRedId(int redId) {
            this.redId = redId;
        }

        public int getUsedMoney() {
            return usedMoney;
        }

        public void setUsedMoney(int usedMoney) {
            this.usedMoney = usedMoney;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }
    }
}
